//
//  procent_delivery_of_zone.m
//  VivaModa
//
//  Created by Sergey on 3/30/13.
//  Copyright (c) 2013 private_busines. All rights reserved.
//

#import "procent_delivery_of_zone.h"

@implementation procent_delivery_of_zone
NSDictionary *dict;

+(NSDictionary*)getsuitability_dict{
    return @{@"49":@"385:2",
    @"59":@"298:2",
    @"62":@"245:2",
    @"64":@"285:2",
    @"45":@"355:2",
    @"71":@"375:2",
    @"76":@"335:2",
    @"86":@"268:2",
    @"35":@"245:2",
    @"91":@"245:2",
    @"93":@"335:4",
    @"48":@"305:2",
    @"107":@"475:6",
    @"108":@"335:4",
    @"110":@"375:4",
    @"46":@"297:2",
    @"104":@"345:3",
    @"31":@"335:3",};
}


+(NSString*)getPriceZone:(NSString*)id_zone{
    dict = [self getsuitability_dict];
    NSArray *arrayKey = [dict allKeys];
    for (int i = 0; i < [arrayKey count]; i++) {
        if ([[arrayKey objectAtIndex:i]  isEqualToString:id_zone]) {
            return [dict objectForKey:[arrayKey objectAtIndex:i]];
        }
    }
    return @"135:2";
}


@end

